
<div class="tableform">
	<form action="index.php?<{$env.server.QUERY_STRING}>"  method="post">
	<div class="division">
	    <table width="100%" cellspacing="0" cellpadding="0" border="0">
	      <tbody>	
	      	<tr>	
	          <th><{t}>可用额度：<{/t}></th>
	          <td><span class="price0"><{if $member.advance.total>0}><{$member.advance.total|cur}><{else}>0<{/if}></span></td>
	      	</tr>
			<tr>
	          <th><{t}>总信用额度：<{/t}></th>
	          <td><span><{$t_credit|cur}></span></td>
	        </tr>
	        <tr>	
	          <th><{t}>可用信用额度：<{/t}></th>
	          <td><span><{if $total_credit>0}><{$total_credit|cur}><{else}>0<{/if}></span></td>
	        </tr>
	        <tr>	
	          <th><{t}>实际预存：<{/t}></th>
	          <td><span><{if $total_real>0}><{$total_real|cur}><{else}>0<{/if}></span></td>
	        </tr>
	        <tr>
	        	<th><{t}>开票额度：<{/t}></th>
	        	<td><span><{if $billing_advance>0}><{$billing_advance|cur}><{else}>0<{/if}></span></td>
	        </tr>
	        <tr>
	          <th ><{t}>充值金额：<{/t}></th>
	          <td><input type="text" vtype="required" maxlength="10" name="modify_advance" ><span class="notice-inline"><{t}>此处可输入负值，负值表示减预存款<{/t}></span></td>
	        </tr>
	        <tr>
	        	<th ><{t}>充值类型：<{/t}></th>
	           <td colspan="3"> 
                    <input type="radio" name="modify_advance_type" value="0" checked="checked"><{t}>信用额度<{/t}>
                    <input type="radio" name="modify_advance_type" value="1"><{t}>实际预存<{/t}>
                </td>
	        </tr>
	        <tr>
	        	<th ><{t}>充值账户：<{/t}></th>
	           <td>
				   <select type="select" name="modify_bank_name"  class=" x-select">
					   <option></option>
					   <{foreach from=$members_adv.lv.options item=value key=key}>
					   		<option value="<{$value}>"><{$key}></option>
					   <{/foreach}>
				   </select>
                </td>
	        </tr>
			<tr>
			<th><{t}>备注：<{/t}></th>
	          <td><input class="inputstyle" type="text" size="30" name="modify_memo"/></td>
			</tr>
	      </tbody>
	    </table>
	</div>
	<div class="table-action"><{button type="submit" label=$___b2c="保存"|t:'b2c' }></div>
	</form>
</div>
<div>
<{include file='admin/member/page_advance_list.html'}>
</div>